/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cloudfactory.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author ThinkGem
 * @version 2018-09-09
 */
public class CloudfactoryMenuCenter extends DataEntity<CloudfactoryMenuCenter> {
	
	private static final long serialVersionUID = 1L;
	private String menuName;		// 菜单名称
	private String menuDescribe;		// 菜单描述
	private String icon;		// 图标地址
	private String type;		// 菜单所属类型:仓储、生产、设备、质量、能源、成本、计划
	
	public CloudfactoryMenuCenter() {
		super();
	}

	public CloudfactoryMenuCenter(String id){
		super(id);
	}

	@Length(min=0, max=255, message="菜单名称长度必须介于 0 和 255 之间")
	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	
	@Length(min=0, max=255, message="菜单描述长度必须介于 0 和 255 之间")
	public String getMenuDescribe() {
		return menuDescribe;
	}

	public void setMenuDescribe(String menuDescribe) {
		this.menuDescribe = menuDescribe;
	}
	
	@Length(min=0, max=255, message="图标地址长度必须介于 0 和 255 之间")
	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	@Length(min=0, max=1, message="菜单所属类型:仓储、生产、设备、质量、能源、成本、计划长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}